home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2005 Utilities
/
CHIP Utilities 2005.7z
/
CHIP Utilities 2005.iso
/
images
/
arachne.igz
/
arachne.img
/
LEVEL0
/
MENU.CAB
/
bin
/
menu.bat
Wrap
DOS Batch File
|
2005-01-16
|
631b
|
20 lines
@if "%debug%"=="" echo off
%ramdrv%
:_lp
for %%i in (%tmp%\_menu.*) do del %%i>%tmp%\nul
echo :menu "Main menu" [x]>%tmp%\_menu.bak
for %%i in (%ramdrv%\menu\*.mnu) do type %%i>>%tmp%\_menu.tmp
lmod /L* /B~ echo [$1][~62][~62]%tmp%\_menu.bak<%tmp%\_menu.tmp>%tmp%\_menu.bat
call %tmp%\_menu.bat
call w.bat list @%tmp%\_menu.bak:menu
if "%wbat%"=="" goto _end
tfind "%wbat%"|lmod /B~ set wbat=[$2] [$3]<%tmp%\_menu.tmp>%tmp%\_menu.bat
call %tmp%\_menu.bat
if "%wbat%"=="" goto _end
call %wbat%
set wbat=
goto _lp
:_end
for %%i in (%tmp%\_menu.*) do del %%i>%tmp%\nul
echo MENU: Type "menu" to see the menu again